This interface allows custom pages to check and control the state of the entire PropertySheet control frame that combines multiple property pages from different extensions in one set.
Name | Description |
---|---|
The frame button state |
|
String. The name of the currently active page |
Remarks
Use the State property to identify the frame’s button state as a value from AMPP_BUTTONS constants and get or set the state with a combination of AMEXTCOM_FLAGS constants.
Example
Dim pf As IAMPagesFrame(missing or bad snippet)
Set pf = m_Designer.GetHostService(SERVICE_PAGESFRAME)
‘Get button state
Dim st as Long
St = Pf.State(AMPPB_CANCEL)
‘Enable button and make it visble
Pf.State(AMPPB_CANCEL) = St + AMECF_ENABLED + AMECF_VISIBLE
‘Switch property frame to another page
Pf.CurrentPage = “MyPage”
Name property